/**
 * 
 */
package com.igatewebsol.common;

import com.igatewebsol.actionforms.HotelUserBean;
import com.igatewebsol.daoimpl.UserDAOImpl;

/**
 * @author aravind rapuru
 *
 */
public class Test {
	
	public static void main(String args[])
	{
		HotelUserBean ubean=new HotelUserBean();
		
		ubean.setUserpass("Tspasssssst");
		ubean.setUsertype("Audt");
		ubean.setUserfirstname("rama");
		ubean.setUsermiddlename("krishna");
		ubean.setUserlastname("super");
		ubean.setUseremailid("sdfdsf");
		ubean.setUsermobileno(11111);
		ubean.setUserlandline(12222);
		ubean.setUserAddresslineone("line1");
		ubean.setUserAddresslinetwo("Line2");
		ubean.setUserAddresslinethree("line3");
		ubean.setUsercity("Hydr");
		ubean.setUserstate("sdfsdf");
		ubean.setUsercountry("indi");
		ubean.setUserpincode(1121222);
		ubean.setUserid(0);
		
		UserDAOImpl userDAOImpl=new UserDAOImpl();
		
		int update =userDAOImpl.editUser(ubean);
		System.out.println(update);
		/*int count=userDAOImpl.createUser(ubean);
		System.out.println(count);
		*/
	}

}
